package com.seven.demo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;

import java.util.Date;

/**
 * @author QH
 * @date 2019/4/15
 * @description
 */
@Data
public class User extends BaseRowModel {

    @ExcelProperty(value = "用户id", index = 0)
    private String uid;

    @ExcelProperty(value = "姓名", index = 1)
    private String name;

    @ExcelProperty(value = "年龄", index = 2)
    private String age;
}
